using System;
using System.Collections.Generic;
using System.Text;

namespace Microsoft.Practices.Repository.SqlServer
{
    /// <summary>
    /// Constants for specific SqlServer error codes.
    /// </summary>
    public static class ErrorCodes
    {
        /// <summary>
        /// SqlServer validation error code.
        /// </summary>
        public const byte ValidationError = 1;
        /// <summary>
        /// SqlServer concurrency violation error code.
        /// </summary>
        public const byte ConcurrencyViolationError = 2;
        /// <summary>
        /// SqlServer user raised error code.
        /// </summary>
        public const int SqlUserRaisedError = 50000;
    }
}
